/*
#include "list.h"


void initList(SqList* list){
    list->length = 0;
}

void insertElement(SqList* list,int p,int value){
    if(p < 0 || p >= list->length){
        return;
    }

    for (int i = list->length - 1 ; i >= p; i--) {
        list->data[i + 1] = list->data[i];
    }
    list->data[p] = value;
    list->length++;
}

int findElement(SqList list,int e){
    int i;
    for (i = 0; i < list.length; i++) {
        if(e == list.data[i]){
            return i;
        }
    }
    return -1;
}

int getElelemnt(SqList list,int p){
    if (p < 0 || p > list.length-1){
        return 0;
    }
    return list.data[p];
}

int deleteElement(SqList* list,int p){
    int i=0;
    if (p < 0 || p > list->length-1){
        return 0;
    }
    int e = list->data[p];
    for (i = p; i < list -> length -1; i++) {
        list->data[i] = list ->data[i+1];
    }
    list->length--;
    return e;
}

*/
